package com.bjsdzk.collector.mapper;

import com.bjsdzk.collector.entity.model.Command;
import com.bjsdzk.collector.entity.model.ExceColleContr;
import org.apache.ibatis.annotations.*;
import org.springframework.stereotype.Component;

import java.util.HashMap;
import java.util.List;
import java.util.Map;


@Mapper
@Component
public interface ExceColleContrMapper {
	@Select("SELECT exceptions_type,exceptions_des FROM exce_colle_contr d ")
	@ResultType(ExceColleContr.class)
	@MapKey("exceptions_type")
	Map<Integer,ExceColleContr > findAll();
}